]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/app: Add method to activate an action via FDO DBus activation
authorJulian Sparber <julian@sparber.net>
Mon, 19 Feb 2024 08:30:25 +0000 (09:30 +0100)
committerJulian Sparber <julian@sparber.net>
Wed, 28 Feb 2024 10:27:40 +0000 (11:27 +0100)
commit54bc3aa4f54cb5452c29f81fada808224a18afa1
tree505fcd640619beeca71d6de781978eb6af3c0123
parentfbc8c28c0e31aca73b9510f459609ec2cd3e0967
shell/app: Add method to activate an action via FDO DBus activation

There are multiple different places where we activate an app action,
but none set the correct activation token. Therefore this adds an async
method to to call `ActivateAction` on `org.freedesktop.Appliaction`
with the correct activation token/startup id as platform data.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
js/ui/environment.js
src/shell-app.c
src/shell-app.h